<?php
// +----------------------------------------------------------------------
// | INPHP
// | Copyright (c) 2023 https://inphp.cc All rights reserved.
// | Licensed ( https://opensource.org/licenses/MIT )
// | Author: 幺月儿(https://gitee.com/lulanyin) Email: inphp@qq.com
// +----------------------------------------------------------------------
// | 业务配置
// +----------------------------------------------------------------------
return [
    //短信配置
    "sms"       => [
        //国家代码
        "countryList"   => [
            [ "code" => 86, "en" => 'China', "cn" => '中国大陆' ]
        ],
        //短信有效时间
        "lifeTime"      => 10 * 60,
        //1小时内，限制发送多少条
        "oneHourLimit"  => 10,
        //是否开启短信调试(开启后，短信直接返回，不会通过SMS接口发送)
        "debug"         => true,
        //以下是短信发送接口的参数
        //使用哪个短信接口发送(默认腾讯云)
        "apiName"       => "",
        //账户
        "account"       => "",
        //密钥
        "secret"        => "",
        //模板ID
        "tempId"        => 0,
        //应用ID
        "appId"         => "",
        //签名
        "signName"      => "",
        //国际短信
        "international" => [
            //使用接口(默认继承)
            "apiName"       => null,
            //账户(默认继承)
            "account"       => null,
            //密钥(默认继承)
            "secret"        => null,
            //模板ID(默认继承)
            "tempId"        => 0,
            //应用ID(默认继承)
            "appId"         => null,
            //签名(默认继承)
            "signName"      => "",
        ]
    ],
    //授权
    "auth"      => [
        //手机号码+短信，验证成功后自动一键注册
        "smsAutoRegister"   => true,
        //第三方平台授权后自动注册
        "thirdPartyAutoRegister"=> true,
        //Token过期时间(默认是无期限)
        "tokenLifeTime"     => 0
    ],
    //默认企微客服
    "qwkf" => [
        "appid" => "",
        "url"   => ""
    ]
];